﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Search_Workorder.aspx.cs"
    Inherits="client_Search_Workorder" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Vibration Report</title>
    <link href="../styles/client.css" rel="stylesheet" type="text/css" />
    <link href="../styles/lytebox.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="../styles/jquery_themes/redmond/jquery-ui-1.8.5.custom.css" rel="stylesheet"
        type="text/css" />

    <script src="../javascripts/lytebox.js" type="text/javascript"></script>

    <script src="../javascripts/jquery-1.4.3.min.js" type="text/javascript"></script>

    <script src="../javascripts/jquery-ui-1.8.5.custom.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(function() {
            $(".datepicker").datepicker({ dateFormat: 'dd/mm/yy' });
        });  
    </script>

    <style type="text/css">
        .style1
        {
            width: 631px;
        }
    </style>

    </head>
<body>
    <div class="content_area">
        <form id="form1" runat="server">
        <h2>
            Search Work Order
        </h2>
        <div class="form_box">
            <table>
                <tr>
                    <td class="label">
                        <asp:Label ID="Label1" runat="server" Text="W/O #"></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="workorderTextbox" runat="server" CssClass="fields1" 
                            Width="276px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="label">
                        Select Site</td>
                    <td class="style1">
                        <asp:DropDownList ID="Sites_DropDownList" runat="server" 
                            CssClass="DropDownList" Width="276px">
                            <asp:ListItem ID="allsitesitem" Value="0" Text="All sites on this client"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label2" runat="server" Text="Start Date" CssClass="label"></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="startdate_textbox" class="datepicker" runat="server" 
                            Width="280px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="label3" runat="server" Text="End Date" CssClass="label"></asp:Label>
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="enddate_textbox" class="datepicker" runat="server" 
                            Width="271px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="label">
                        Status
                    </td>
                    <td class="style1">
                        <%--<asp:CheckBox ID="statusCheckbox" Text="" runat="server" />--%>
                        <asp:DropDownList ID="status_dropdownlist" runat="server" 
                            CssClass="DropDownList" Width="266px">
                            <asp:ListItem Text="All" Value="2"></asp:ListItem>
                            <asp:ListItem Text="Completed" Value="1">
                            </asp:ListItem>
                            <asp:ListItem Text="Outstanding" Value="0"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
<%--                <tr>
                    <td class="label">
                        Status
                    </td>
                    <td>
                        <%--<asp:CheckBox ID="statusCheckbox" Text="" runat="server" />
                        <asp:DropDownList ID="DropDownList3" runat="server" CssClass="DropDownList">
                            <asp:ListItem Text="All" Value="2"></asp:ListItem>
                            <asp:ListItem Text="Completed" Value="1">
                            </asp:ListItem>
                            <asp:ListItem Text="Outstanding" Value="0"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>--%>
                <tr>
                    <td>
                    </td>
                    <td class="style1">
                        <asp:Button ID="searchbutton" OnClick="searchbuttonClicked" runat="server" Text="SEARCH"
                            CssClass="buttons" Width="276px" />
                    </td>
                </tr>
         
            <asp:LinkButton ID="backbutton" runat="server" OnClick="backbuttonclicked" 
                CssClass="backbtn">Return To VA Report</asp:LinkButton>
                   </table>
        </div>
        </form>
    </div>
</body>
</html>
